﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace CoolEngine.Gui
{
    public class Label:GuiControl
    {
        //public Label():base()
        //{

        //}
        public Label(CoolGame game, GuiRenderer renderer):base(game,renderer)
        {

        }
        public string Text { get; set; }
        public SpriteFont Font { get; set; }
        public Color Colour { get; set; }
        public override void Draw(Microsoft.Xna.Framework.GameTime gameTime)
        {
            Batch.DrawString(Font, Text, TopLeft, Colour);
            base.Draw(gameTime);
        }
    }
}
